package cc.sunwl.study.springboot.demo.gson.service;

import cc.sunwl.study.springboot.demo.gson.entity.Article;

import java.util.List;

public interface ArticleService {
    Article get(String id);

    boolean post(Article entity);

    boolean delete(String id);

    boolean put(Article entity);

    List<Article> findAll(int page, int size);
}
